package com.lhg.common.util;

import java.util.List;

/**
 * @author fangzc
 * @date 2018/10/15 16:34
 */
public class FileInfo {
    private String id;//id
    private String pid;//父id
    private String name;//文件或文件夹名
    private String url;//资源路径
    private Boolean isFile;//是否是文件
    private List<FileInfo> children;//子文件夹数组

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Boolean getFile() {
        return isFile;
    }

    public void setFile(Boolean file) {
        isFile = file;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<FileInfo> getChildren() {
        return children;
    }

    public void setChildren(List<FileInfo> children) {
        this.children = children;
    }
}
